package com.wdd.owntool.ui

import com.alibaba.android.arouter.facade.annotation.Autowired
import com.alibaba.android.arouter.facade.annotation.Route
import com.alibaba.android.arouter.launcher.ARouter
import com.wdd.libbase.base.BaseActivity
import com.wdd.owntool.R
import com.wdd.owntool.bean.ArouterData
import kotlinx.android.synthetic.main.activity_wang.*

/**
 *
 * @ProjectName:    OwnTool
 * @Package:        com.wdd.owntool.ui
 * @ClassName:      ArouterActivity
 * @Description:     java类作用描述
 * @Author:         王丹丹
 * @CreateDate:     2019/12/18 19:20
 * @UpdateUser:     更新者
 * @UpdateDate:     2019/12/18 19:20
 * @UpdateRemark:   更新说明
 * @Version:        1.0
 */
@Route(path = "/app/test")
class ArouterActivity : BaseActivity() {
    @Autowired
    lateinit var data: ArouterData

    override fun getLayoutId(): Int {
        ARouter.getInstance().inject(this)
        return R.layout.activity_wang
    }

    override fun initView() {
    }

    override fun initData() {
        text.text = data.name
    }
}